package com.ldw.vo;

import lombok.Data;

//用于接受前端传过来的参数
@Data
public class PageParams {
    private int page;
    private int pageSize;
    private Long categoryId;
    private Long tagId;
    private String year;
    private String month;

    public String getMonth() {
        if (month != null && month.length() == 1) {
            month = "0" + month;
        }
        return month;
    }
}
